Systems and methods for charging a chargeable USB device

ABSTRACT

Systems and methods are provided for charging a USB device. A USB connector may be used to couple the system to a USB port on the USB device, the USB connector including a bus voltage (Vbus) connector, a positive data (D+) connector, and a negative data (D−) connector. Charger circuitry may be used to receive a source voltage and convert the source voltage into the bus voltage (Vbus), wherein the bus voltage (Vbus) is used to charge the USB device. Presence detect circuitry may be used to compare a first voltage present on the D+ connector with a second voltage present on the D− connector in order to detect when the USB connector is coupled to the USB port of the USB device.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.12/695,909 filed Jan. 28, 2010 by Dusan Veselic entitled “Systems andMethods for Charging a Chargeable USB Device” which will issue as U.S.Pat. No. 7,884,571, on Feb. 8, 2011 which claims benefit of and priorityto U.S. patent application Ser. No. 11/057,976, filed Feb. 15, 2005, nowU.S. Pat. No. 7,679,317 B2, issued on Mar. 16, 2010, by Dusan Veselicentitled “Systems and Methods for Charging a Chargeable USB Device”which is incorporated by reference herein as if reproduced in itsentirety.

BACKGROUND

The technology described in this patent document relates generally tothe field of power adapters. More particularly, this patent documentdescribes systems and methods for charging a chargeable Universal SerialBus (USB) device that is particular well-suited for supplying power to amobile device, such as a wireless two-way messaging device, a cellulartelephone, a personal digital assistant (PDA), or other hand-held devicehaving a rechargeable power source.

Providing an external source of power to a mobile device, such as apersonal digital assistant (“PDA”), wireless two-way messaging device,cellular phone, and others, requires design considerations with respectto both the mobile device and the power source. Most mobile devicesprovide a distinct power interface for receiving power from a powersource, for instance to recharge a battery, and a separate datainterface for communicating. For example, many mobile devices use USB(Universal Serial Bus) interfaces for communicating and use a separatepower interface, such as a barrel connector, for receiving power.

SUMMARY

In accordance with the teachings described herein, systems and methodsare provided for charging a USB device. A USB connector may be used tocouple the system to a USB port on the USB device, the USB connectorincluding a bus voltage (Vbus) connector, a positive data (D+)connector, and a negative data (D−) connector. A charger circuit may beused to receive a source voltage and convert the source voltage into thebus voltage (Vbus), wherein the bus voltage (Vbus) is used to charge theUSB device. A presence detect circuit may be used to compare a firstvoltage present on the D+ connector with a second voltage present on theD− connector in order to detect when the USB connector is coupled to theUSB port of the USB device.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an example system for charging a chargeableUSB device.

FIG. 2 is a block diagram of another example system for charging achargeable USB device.

FIG. 3 is a block diagram of a third example system for charging achargeable USB device.

FIG. 4 is an electrical diagram of an example presence detect circuitfor a USB charger.

FIG. 5 is an electrical diagram of an example USB charger.

FIG. 6 is a block diagram of an example chargeable USB device.

FIG. 7 is a flow diagram of an example method for charging a chargeableUSB device.

FIG. 8 is a block diagram of an example rechargeable mobile device witha USB interface.

DETAILED DESCRIPTION

FIG. 1 is a block diagram of an example system 100 for charging achargeable USB device 110. The chargeable USB device 110 may be a mobiledevice (e.g., personal digital assistant (PDA), cellular telephone,two-way pager, etc.) that includes a USB port and a rechargeable powersource, such as a Lithium-Ion battery or some other type of rechargeablebattery. The system 100 includes a USB charger 112 that is coupled tothe chargeable USB device 110 by a USB connector 114. The USB charger112 includes presence detect circuitry 116, charger circuitry 118, anduser feedback circuitry 120.

The USB connector 114 may be a standard 4 pin USB-type connector havinga voltage bus (Vbus) connector 122, a positive data (D+) connector 124,a negative data (D−) connector 126, and a ground connector (not shown),as described, for example, in the Universal Serial Bus Specification,Revision 2.0, published Apr. 27, 2000. The USB connector 114 may, forexample, be included within the same physical housing as the USB charger112. A USB port on the chargeable USB device may be connected to the USBconnector 114 using a docking cradle, a USB cable, or by other suitablemeans.

The charger circuitry 118 in the USB charger 112 is operable to receivea source voltage 128 from an external power source and to convert thesource voltage into the bus voltage (Vbus) 122. The charger circuitry118 may be configured to operate with either an AC external powersource, such as a conventional household power outlet, or a DC externalpower source, such as the power socket in an automobile, or a battery.In the case of an AC power source, the charger circuitry 118 may includean AC/DC converter than converts the AC source voltage into a regulatedDC voltage (Vbus) 122. If the external power source is a DC powersource, then the charger circuitry 118 may include a DC/DC converter togenerate the regulated DC voltage (Vbus) 122.

The presence detect circuitry 116 in the USB charger 112 is operable todetect when the chargeable USB device 110 is connected to the D+ and D−lines 124, 126 of the USB connector 114. In accordance with the USBSpecification, a logic high state on both the D+ and D− lines 124, 126signals an “Illegal” state, and a logic low state on both the D+ and D−lines signals a “Reset” state. The USB charger 112 may thus takeadvantage of the “Illegal” or “Reset” states to signal its presence tothe chargeable USB device 110 and to detect the presence of thechargeable USB device 110 attached to the USB connector 114. In thismanner, the chargeable USB device 110 may be configured to use the D+and D− lines 124, 126 to communicate presence information with the USBcharger 112, without interfering with the device's 110 ability tocommunicate with a typical USB host device. For example, when thechargeable USB device 110 detects power on the Vbus lines 122, it mayfirst attempt to establish a connection with a USB host using a standardUSB enumeration process. If a USB host is not detected, then the USBdevice 110 may be configured to monitor the D+ and D− lines to detectthe presence of an “Illegal” or “Reset” state, indicating the presenceof a USB charger 112. The chargeable USB device 110 may, in turn,communicate its presence to the USB charger 112 using the D+ and D−lines.

In one example, the chargeable USB device 110 may communicate itspresence to the USB charger 112 by varying the voltage of the D+ or D−line. For example, if both the D+ and D− lines are pulled to a logichigh voltage level to provide an “Illegal” USB state, then thechargeable USB device 110 may communicate its presence by varying thevoltage of the D+ or D− line within the logic high voltage range(3.0V-3.6V according to USB specifications). The presence detectcircuitry may then detect the presence of the chargeable USB device 110by comparing the D+ and D− voltages to detect a voltage change. Forexample, the presence detect circuitry may generate an “Illegal” USBstate with the voltage of the D− line 126 being slightly higher than thevoltage of the D+ line (within the allowable logic high range). Upondetecting the presence of the USB charger 112, the chargeable USB device110 may then pull up the D+ line 124 above the voltage of the D− line126. By comparing the D+ and D− voltages, the presence detect circuitry116 may then detect the voltage change to identify the presence of theUSB device 110.

The user feedback circuitry 120 in the USB charger 112 may be operableto communicate charger information to a device user. For example, theuser feedback circuitry 120 may receive a device presence signal 130from the presence detect circuitry 116 that indicates that an attachedUSB device 110 has been detected. The presence detect circuitry 116 may,for example, generate the device presence signal 130 by comparing thevoltages on the D+ and D− lines 124, 126, as described above. Inaddition, the user feedback circuitry 120 may receive a charge statesignal 132 from the charger circuitry 118 that indicates that power isbeing supplied via the Vbus connector 122. The user feedback circuitry120 may, for example, communicate the state of the device presence 130and/or charge state 132 signals with one or more user interface devices,such as a light-emitting diode (LED), a liquid crystal display (LCD), asound generator (beeper, buzzer, etc.), and/or other suitable device(s).

FIG. 2 is a block diagram of another example system 200 for charging achargeable USB device 210. In this example 200, the USB charger 212includes presence detect circuitry 216 and charger circuitry 218. Thepresence detect circuitry 216 in this example 200 operates to detect thepresence of a connected USB device 210 and to generate a device presencesignal 222, similar to the presence detect circuitry 116 described abovewith reference to FIG. 1. In this example 200, however, the devicepresence signal 222 is used to control an operation 224 of the chargercircuitry 218. For example, upon detecting the presence of a connectedUSB device 210 the presence detect circuitry 216 may generate the devicepresence signal 222 to instruct the charger circuitry 218 to supply aregulated voltage on the Vbus line 226. In another example, the chargercircuitry 218 may limit the regulated voltage and/or current availableon the Vbus line 226 until the device presence signal 222 indicates thepresence of an attached USB device 210. In this manner, a firstregulated voltage and/or current may be generated by the chargercircuitry 218 for use by the chargeable USB device 210 in detecting theUSB charger 212, and a second regulated voltage and/or current may begenerated by the charger circuitry 218 for use in charging the USBdevice 210.

FIG. 3 is a block diagram of a third example system 300 for charging achargeable USB device. In this example 300, the device presence signal302 generated by the presence detect circuitry 304 is used both tocommunicate presence information to a user via the user feedbackcircuitry 306 (similar to FIG. 1), and to control the charge circuitry308 (similar to FIG. 2).

FIG. 4 is an electrical diagram of an example presence detect circuit400 for a USB charger. The presence detect circuitry 400 includes afirst voltage divider circuit 402 for applying a first voltage to the D+connector 404, and a second voltage divider circuit 406 for applying asecond voltage to the D− connector 408. The presence detect circuit 400further includes a comparison circuit 410 that is configured to comparethe voltages on the D+ and D− lines 404, 408 to generate a devicepresence signal 412. The example presence detect circuitry 400 may, forexample, be used as the presence detect circuitry 116, 216, 304 in theexample systems of FIGS. 1-3.

The first and second voltage divider circuits 402, 406 may each includea pull-up resistor (R2 and R1) for respectively coupling the D+/D− line404, 408 to a reference voltage (VBUSin) and a pull-down resistor (R3and R4) for respectively coupling the D+/D− line 404, 408 to a groundpotential. The resistor values in the voltage divider circuits 402, 406may be selected to generate a USB “Illegal” state (both logic high) or aUSB “Reset” state (both logic low) on the D+/D− lines 404, 408. Inaddition, the resistor values (R1-R4) may be selected such that thevoltage present on one of the D+ and D− lines 404, 408 is higher thatthe other, while maintaining the desired logic state. For example, if aUSB “Illegal” state is used to communicate presence information to achargeable USB device, as described above, then the voltage on one dataline (e.g., the D− line 408) may be set higher than the voltage on theother data line (e.g., the D+ line) 404, within the allowable logic highrange (e.g., according to the USB Specification).

The comparison circuit 400 may include a comparator (U1), a firstresistor-capacitor (RC) circuit (R6 and C1) and a second RC circuit (R5and C2). The first RC circuit (R6 and C1) couples the D− line 408 to afirst input of the comparator (U1), and the second RC circuit (R5 andC2) couples the D+ lines 404 to a second input of the comparator (U1).The comparator (U1) is configured to compare the voltages present at itsinputs (+ and −) to generate the device presence signal 412. Inoperation, before a USB device is attached, the difference between thevoltage levels on the D+ and D− lines 404, 408 cause the comparator (U1)to generate the device presence signal 412 at a first logic level. Thevoltage levels present on the D+ and D− lines 404, 408 may then bevaried by an attached USB device to indicate its presence. Once thevoltages of the D+ and D− lines are varied by an attached USB device,the new voltage levels cause the comparator (U1) to generate the devicepresence signal 412 at a second logic level. For example, the D− linemay be pulled to a higher voltage level than the D+ line before a USBdevice is attached, causing the comparator (U1) to generate a logic highoutput 412 (indicating the non-presence of a USB device). Onceconnected, the USB device may then cause the D+ line 404 to be pulled toa higher voltage than the D− line 408, causing the comparator (U1) totransition to a logic low output 412 (indicating the presence of a USBdevice).

FIG. 5 is an electrical diagram of an example USB charger 500. Thecharger 500 includes presence detect circuitry 502 and charger circuitry504, as described above. Also included in FIG. 5 is an example of userfeedback circuitry for communicating presence information and chargestate information to a device user. The user feedback circuitry includesa current sense circuit 506, a red LED 508, a green LED 510, and acomparison circuit (U2) 512. In operation, the green LED 510 is used toindicate that a USB device is connected to the charger, and the red LED510 is used to indicate that the connected USB device is drawing power(e.g., charging) from the Vbus line.

The green LED 510 is controlled by the output 516 of the presence detectcircuitry 502. Specifically, the green LED 510 is coupled between a Vccoutput (e.g., 5V) from the charger circuitry 504 and the presence detectoutput 516. When the presence detect output 516 transitions to a logiclow state as a result of an attached USB device (as described above withreference to FIG. 4), current flows through the green LED 510, causingit to turn on. When the USB device is detached, the presence detectoutput 516 transitions to a logic high state, turning off the green LED510.

The red LED 508 is controlled by the comparison circuit 512 (U2), whichcompares the output 514 of the current sense circuit 506 with areference voltage (Vref) to generate a charge state output 518. Thecomparison circuit 512 may be a comparator, or some other type ofcircuit for comparing two input voltages. The current sense circuit 506may be a current mirror that generates an output 514 that isproportional to the Vbus current. In operation, when an attached USBdevice draws power from the charger circuitry 504, the current drawnfrom the Vbus line is mirrored as the current sense output 514. Thecurrent sense output 514 is stabilized (R14 and C3) and input to thecomparison circuit 512. When current is drawn from the Vbus line, thecurrent sense output 514 causes the charge state output 518 from thecomparison circuit 512 to transition to a logic low state, turning onthe red LED 508. When the USB device is detached or is otherwise notdrawing power from the Vbus line, the current sense output 514 fallsbelow the reference voltage (Vref), causing the charge state output 518to transition to a logic high state, and turning off the red LED 508.

When a USB device is attached to the charger 500 and begins drawingpower from the Vbus line, a large oscillation in current may occur atthe mirrored current sense output 514. A large value RC circuit (C3 andR14) may thus be utilized to filter the current sense output 514 andprovide a stable input to the comparison circuit U2. However, the chargetime resulting from the large value of the capacitor C3 may cause adelay from the time that the USB device is connected until the red LED508 turns on. In order to help reduce this delay, a diode circuit (D2,R15 and R16) may be included to charge the capacitor C3 more quickly. Inaddition, a transistor circuit (Q1 and R17) may be included to quicklydischarge the capacitor C3 when the USB device is disconnected from thecharger 500, causing the red LED 508 to quickly turn off.

FIG. 6 is a block diagram of an example chargeable USB device 600. Thedevice 600 includes a charging subsystem 602 for charging a rechargeablebattery 604, a USB interface 606 for transmitting and receiving dataover the USB data lines (D+/D−), and a microprocessor 608 forcontrolling the overall operation of the device 600. Also included are avoltage regulator 610, a controllable switching device 612 and a pull-upresistor 614.

When the example USB device 600 is connected to a USB charger, asdetailed above, the voltage on the Vbus line is input (Vin) to theregulator 610, which signals the microprocessor 608 that a Vbus voltagehas been detected. The microprocessor 608 may then attempt to perform astandard USB enumeration via the USB interface 606, and determine thatthe attached device is a USB charger when the USB enumeration is notsuccessful. In other examples, the microprocessor 608 may receive asignal over the USB data lines (D+/D−) to identify the attached deviceas a USB charger, as described in the commonly-owned U.S. patentapplication Ser. No. 10/864,584, titled “Universal Serial Bus ChargerFor a Mobile Device,” which is incorporated herein by reference. In anycase, once the microprocessor 608 has identified the attached device asa USB charger, the microprocessor 608 may then signal the chargingsubsystem 602 to begin charging the battery 604 from the Vbus line. Inaddition, the microprocessor 608 may signal the controllable switchingdevice 612 to close, coupling a regulated output (Vout) from theregulator 610 to the pull-up resistor 614. The regulated output (Vout)pulls-up the D+ line to a pre-selected voltage (e.g., above the voltageof the D− line) in order to communicate the USB device's presence to theattached USB charger, as detailed above.

FIG. 7 is a flow diagram of an example method 700 for charging achargeable USB device. In step 702, the USB data lines (D+/D−) of a USBcharger are at the same logic level, indicating a USB “Illegal” or“Reset” state. At step 704, the higher voltage is applied to a first oneof the USB data lines, while maintaining the same logic state as thesecond one of the USB data lines. For example, if the D+ and D− linesare both in a logic high state, then one of the data lines (D+ or D−)will have a higher voltage within the logic high range than the otherone of the data lines (D+ or D−). At step 706, a device presence signalis generated that indicates that no USB device is attached to the USBcharger.

At step 708, the method determines if a USB device is attached to theUSB charger. If no USB device is attached, then the method repeats fromstep 704, and the device presence signal continues to indicate that noUSB device is attached. However, if a USB device is detected at step708, then the method proceeds to step 710.

At step 710, the second one of the USB data lines is pulled to a highervoltage than the first one of the USB data lines, while maintaining thesame logic state. For example, if the D+ and D− lines where both in alogic high state in step 704 with the D− line having a higher voltagethan the D+ line, then in step 710, the voltage on the D+ line isincreased (within the logic high range) above the voltage of the D−line. In response to the voltage transition at step 710, the devicepresence signal transitions at step 712 to indicate that a USB device isattached.

At step 714, the method determines if the USB device continues to beattached to the USB charger. As long as the USB device is attached, themethod repeats from step 712, and the device presence signal continuesto indicate that a USB device is attached. However, if the USB device isdetached from the USB charger, then the method returns to step 704.

FIG. 8 is a block diagram of an example rechargeable mobile device 800with a USB interface 802 for coupling the device 800 to a USB hostdevice or a USB charger 804. The mobile device 800 includes the USBinterface 802, a USB controller 806, a charging subsystem 808, arechargeable battery 810, and a processing device 812.

The USB interface 802 and/or USB controller 806 may, for example,include the circuitry described above with reference to FIG. 6 forcommunicating presence information to a USB charger 804. Operationally,the USB interface 802 is used by the mobile device 800 to provide powerto the charging subsystem 808, and may also be used to communicate databetween a USB host or hub 804 and the USB controller 806.

The charging subsystem 808 provides power to the mobile device 800,either from the rechargeable battery 810 or from the Vbus line, andcharges the rechargeable battery 810 from the Vbus line. The USBcontroller 806 monitors the USB data lines (D+ and D−), and controlsdata communication between the processing device 812 and a USB host 804.In addition, the USB controller 806 may be used to detect the presenceof a USB charger 804 and communicate presence information to the USBcharger 804 (e.g., by varying the voltage of the D+ and/or D− lines), asdescribed above.

In addition to the subsystems and components described above, the mobiledevice 800 also may include a communications subsystem 814, ashort-range communications subsystem 816, input/output devices 818-822,memory devices 822, 824, and various other device subsystems 826.

The processing device 812 controls the overall operation of the mobiledevice 800. Operating system software executed by the processing device812 may be stored in a persistent store such as a flash memory 824, butmay also be stored in other types of memory devices, such as a read onlymemory (ROM) or similar storage element. In addition, operating systemsoftware, specific device applications, or parts thereof, may betemporarily loaded into a volatile store, such as a random access memory(RAM) 822. Communication signals received by the mobile device 800 mayalso be stored to RAM 822.

The processing device 812, in addition to its operating systemfunctions, enables execution of software applications on the device 800.A predetermined set of applications that control basic deviceoperations, such as data and voice communications, may be installed onthe device 800 during manufacture. In addition, a personal informationmanager (PIM) application may be installed during manufacture. The PIMmay be capable of organizing and managing data items, such as e-mail,calendar events, voice mails, appointments, and task items. The PIMapplication may also be capable of sending and receiving data items viathe wireless network 825. The PIM data items may be integrated,synchronized and updated via the wireless network 825 with the deviceuser's corresponding data items stored or associated with a hostcomputer system. An example system and method for accomplishing thesesteps is disclosed in “System And Method For Pushing Information From AHost System To A Mobile Device Having A Shared Electronic Address,” U.S.Pat. No. 6,219,694, which is owned by the assignee of the presentapplication, and which is hereby incorporated into the presentapplication by reference.

Communication functions, including data and voice communications, areperformed through the communication subsystem 814, and possibly throughthe short-range communications subsystem 816. If the mobile device 800is enabled for two-way communications, then the communication subsystem814 includes a receiver 828, a transmitter 830, and a processing module831, such as a digital signal processor (DSP). In addition, thecommunication subsystem 814, configured as a two-way communicationsdevice, includes one or more antenna elements 832, 834, and localoscillators (LOs) 836. The specific design and implementation of thecommunication subsystem 814 is dependent upon the communication network825 in which the mobile device 800 is intended to operate. For example,a device 800 destined for a North American market may include acommunication subsystem 814 designed to operate within the Mobitex™mobile communication system or DataTAC™ mobile communication system,whereas a device 800 intended for use in Europe may incorporate aGeneral Packet Radio Service (GPRS) communication subsystem.

Network access requirements vary depending upon the type ofcommunication system 825. For example, in the Mobitex™ and DataTAC™networks, mobile devices are registered on the network using a uniquepersonal identification number or PIN associated with each device. InGPRS networks, however, network access is associated with a subscriberor user of a device. A GPRS device therefore requires a subscriberidentity module, commonly referred to as a SIM card, in order to operateon a GPRS network.

When required network registration or activation procedures have beencompleted, the mobile device 800 may send and receive communicationsignals over the communication network 825. Signals received by theantenna 832 through the communication network 825 are input to thereceiver 832, which may perform such common receiver functions as signalamplification, frequency down conversion, filtering, channel selection,and analog-to-digital conversion. Analog-to-digital conversion of thereceived signal allows the DSP 831 to perform more complex communicationfunctions, such as demodulation and decoding. In a similar manner,signals to be transmitted are processed by the DSP 831, and are theinput to the transmitter 830 for digital-to-analog conversion, frequencyup-conversion, filtering, amplification and transmission over thecommunication network 825 via the antenna 834.

In addition to processing communication signals, the DSP 831 providesfor receiver 828 and transmitter 830 control. For example, gains appliedto communication signals in the receiver 828 and transmitter 830 may beadaptively controlled through automatic gain control algorithmsimplemented in the DSP 831.

In a data communication mode, a received signal, such as a text messageor web page download, is processed by the communication subsystem 814and input to the processing device 812. The received signal is thenfurther processed by the processing device 812 for output to a display819, or alternatively to some other auxiliary I/O device 818. A deviceuser may also compose data items, such as e-mail messages, using akeyboard 821, such as a QWERTY-style keyboard, and/or some otherauxiliary I/O device 818, such as a touchpad, a rocker switch, athumb-wheel, or some other type of input device. The composed data itemsmay then be transmitted over the communication network 825 via thecommunication subsystem 814.

In a voice communication mode, overall operation of the device 800 issubstantially similar to data communication mode, except that receivedsignals are output to a speaker 821, and signals for transmission aregenerated by a microphone 822. Alternative voice or audio I/Osubsystems, such as a voice message recording subsystem, may also beimplemented on the device 800. In addition, the display 819 may also beutilized in voice communication mode, for example to display theidentity of a calling party, the duration of a voice call, or othervoice call related information.

The short-range communications subsystem 816 enables communicationbetween the mobile device 800 and other proximate systems or devices,which need not necessarily be similar devices. For example, theshort-range communications subsystem 816 may include an infrared deviceand associated circuits and components, or a Bluetooth™ communicationmodule to provide for communication with similarly-enabled systems anddevices.

This written description uses examples to disclose the invention,including the best mode, and also to enable a person skilled in the artto make and use the invention. The patentable scope of the invention mayinclude other examples that occur to those skilled in the art.

What is claimed is:
 1. A method for detecting whether a universal serialbus (USB) device is connected to a USB charger, the method comprising:pulling a first data line and a second data line within a high logicvoltage range, the first data line having a first voltage level that ishigher than a second voltage level of the second data line when eachdata line is in the high logic voltage range; monitoring the firstvoltage level and the second voltage level; and detecting whether theUSB device is connected to the USB charger based on a variation betweenthe first voltage level and the second voltage level.
 2. The method ofclaim 1, wherein connecting the USB device to the USB charger causes thefirst data line and the second data line to be pulled within a low logicvoltage range, and wherein the second voltage level is higher than thefirst voltage level when the first data line and the second data lineare each in the low logic voltage range.
 3. The method of claim 2,wherein the first data line is a negative data line and the second dataline is a positive data line.
 4. The method of claim 1, furthercomprising: attempting to perform a USB enumeration upon detecting poweron a voltage bus line operable to connect the USB device to the USBcharger; and determining the USB device is connected to the USB chargerif the USB enumeration fails.
 5. The method of claim 4, furthercomprising: communicating a signal instructing the USB charger to begincharging the USB device upon determining the USB device is connected tothe USB charger.
 6. The method of claim 5, further comprising:generating a regulated voltage and/or current for use by the USB chargerin charging the USB device.
 7. The method of claim 1, wherein the highlogic voltage range includes a range of about 3.0 V to about 3.6 V.
 8. Acircuit operable to detect when a universal serial bus (USB) deviceconnects to a USB charger via a USB connector, the USB connectorincluding at least a first data line and a second data line, the circuitcomprising: detection circuitry operable to compare a first voltage ofthe first data line with a second voltage of the second data line whileeach data line is in a high logic state, the first voltage being higherthan the second voltage when the first data line and the second dataline are each in the high logic state, the detection circuitry beingconfigured to determine whether the USB device is connected to the USBcharger based on a voltage change between the first voltage and thesecond voltage.
 9. The circuit of claim 8, wherein the first data lineand the second data line are in a low logic state when the USB device isconnected to the USB charger.
 10. The circuit of claim 9, wherein thedetection circuitry includes a first voltage divider circuit and asecond voltage divider circuit, each voltage divider having resistorvalues for generating a USB “Illegal” output and a “USB” reset outputwhen the first data line and the second data line are in the high logicstate and the low logic state, respectively.
 11. The circuit of claim 8,wherein the first data line is a negative data line and the second dataline is a positive data line.
 12. The circuit of claim 8, wherein thefirst voltage and the second voltage include voltages ranging from about3.0 V to about 3.6 V when the first data line and the second data lineare in the high logic state.
 13. The circuit of claim 8, furthercomprising: circuitry for generating a first regulated voltage and/orcurrent for use in detecting whether the USB device is connected to theUSB charger and a second regulated voltage and/or current for use incharging the USB device when connected to the USB charger.
 14. A systemfor detecting whether a universal serial bus (USB) device is connectedto a USB charger, the system comprising: a USB connector for connectingthe USB device to the USB charger, the USB connector including a firstdata line, a second data line, and a power line, the first data line andthe second data line having a first voltage and a second voltage withina voltage range for a high logic state; and a detection circuit operableto detect when the USB device is connected to the USB charger via theUSB connector, the detection circuit being configured to compare thefirst voltage with the second voltage, and determine whether the USBdevice is connected to the USB charger based on a variance between thefirst voltage and the second voltage.
 15. The system of claim 14,wherein the variance causes the second voltage to become higher than thefirst voltage such that the first data line and the second line are in alow logic state.
 16. The system of claim 15, wherein the detectioncircuit includes a first voltage divider circuit and a second voltagedivider circuit, each voltage divider having resistor values forgenerating a USB “Illegal” output and a “USB” reset output when thefirst data line and the second data line are in the high logic state andthe low logic state, respectively.
 17. The system of claim 14, whereinthe first voltage and the second voltage include voltages ranging fromabout 3.0 V to about 3.6 V when the first data line and the second dataline are in the high logic state.
 18. The system of claim 14, whereinthe first data line is a negative data line and the second data line isa positive data line.
 19. The system of claim 14, wherein the USB deviceincludes a processing device operable to attempt a USB enumeration upondetecting power on the power line, and wherein the detection circuitdetermines the USB device is connected to the USB charger if the USBenumeration is not successful.
 20. The system of claim 14, furthercomprising: circuitry for generating a first regulated voltage and/orcurrent for use in detecting whether the USB device is connected to theUSB charger and a second regulated voltage and/or current for use incharging the USB device when connected to the USB charger.